import request from '@/utils/request'

// vip套餐列表
export const getconsumableslist = (data) => request({ url: '/admin/consumableslist', method: 'post', data })

// 添加vip套餐
export const addconsumablesadd = (data) => request({ url: '/admin/consumablesadd', method: 'post', data })

// 修改vip套餐  比添加多一个id
export const updateconsumablesupdate = (data) => request({ url: '/admin/consumablesupdate', method: 'post', data })

// 删除vip套餐
export const delconsumablesdelete = (data) => request({ url: '/admin/consumablesdelete', method: 'post', data })
// 全部分类
export const getcopywritingtypes = (data) => request({ url: '/admin/copywritingtypes', method: 'post', data })
